‘abrt

您所在的位置:网站首页 linux ssh登录慢 ‘abrt

‘abrt

2023-07-19 20:22| 来源: 网络整理| 查看: 265

使用SSH或CRT连接工具登入Centos7后提示:'abrt-cli status' timed out

相关异常 执行 source /etc/profile 失败也会提示 'abrt-cli status' timed out 一些已安装的service服务也不能自动启动! 命令行输入, Tab键也有异常!

解决方法:systemctl status abrtd.service 如发现.lock文件被锁,kill掉进程

查找.cache文件夹并删除find ./ -name .cache -print rm -rf .cache

重新SSH登入后提示:Fixed ABRT has detected 1 problem(s). For more info run: abrt-cli list 输入命令:abrt-cli list 发现 /var/spool/abrt/oops-xxx文件被锁 删除文件rm -rf /var/spool/abrt/oops*

重新登录系统正常!  上面相关异常也恢复正常!

总结: 如经过以上操作还没解决问题,说明还有某些地方有文件被死锁导致,只要通过排查将它删除就可!

此问题是本人亲身经历,百度了很多资料没解决,最后翻墙看了一些老外网站才解决的, 所以在这里总结一个思路,没有做详细的截图,小白童鞋如遇到此问题,可以根据此思路再结合其它参考资料来解决!

排障过程中有用到的命令: systemctl status abrtd.service rm -rf .cache systemctl stop abrtd.service systemctl disable abrtd.service systemctl daemon-reload abrt-auto-reporting enabled

abrt-cli list ls /var/spool/abrt rm -rf /var/spool/abrt/oops*其它参考资料https://www.cnblogs.com/seaBiscuit0922/p/13684010.htmlhttps://www.dobunkan.com/server/546https://www.agix.com.au/solution-to-the-abrt-cli-status-timed-out-problem/

以下为老外的网站,需要翻墙才能打开! (下面有截取主要内容) https://www.webhostingtalk.com/showthread.php?t=1812149

http://raman-kumar.blogspot.com/2017/02/fixed-abrt-has-detected-1-problems-for.html

 

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3